3.2.30 \(\int \frac {1}{(a+a \sec (e+f x))^{5/2} (c-c \sec (e+f x))^{5/2}} \, dx\) [130]

Optimal. Leaf size=151 \[ \frac {\cot (e+f x)}{2 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\cot ^3(e+f x)}{4 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {\log (\sin (e+f x)) \tan (e+f x)}{a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}} \]

[Out]

1/2*cot(f*x+e)/a^2/c^2/f/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)-1/4*cot(f*x+e)^3/a^2/c^2/f/(a+a*sec(f*x
+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)+ln(sin(f*x+e))*tan(f*x+e)/a^2/c^2/f/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^
(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.09, antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {3990, 3554, 3556} \begin {gather*} -\frac {\cot ^3(e+f x)}{4 a^2 c^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}+\frac {\cot (e+f x)}{2 a^2 c^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}+\frac {\tan (e+f x) \log (\sin (e+f x))}{a^2 c^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a + a*Sec[e + f*x])^(5/2)*(c - c*Sec[e + f*x])^(5/2)),x]

[Out]

Cot[e + f*x]/(2*a^2*c^2*f*Sqrt[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) - Cot[e + f*x]^3/(4*a^2*c^2*f*Sqr
t[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) + (Log[Sin[e + f*x]]*Tan[e + f*x])/(a^2*c^2*f*Sqrt[a + a*Sec[e
 + f*x]]*Sqrt[c - c*Sec[e + f*x]])

Rule 3554

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[b*((b*Tan[c + d*x])^(n - 1)/(d*(n - 1))), x] - Dis
t[b^2, Int[(b*Tan[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1]

Rule 3556

Int[tan[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[-Log[RemoveContent[Cos[c + d*x], x]]/d, x] /; FreeQ[{c, d}, x]

Rule 3990

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))^(m_), x_Symbol] :> Dist
[((-a)*c)^(m + 1/2)*(Cot[e + f*x]/(Sqrt[a + b*Csc[e + f*x]]*Sqrt[c + d*Csc[e + f*x]])), Int[Cot[e + f*x]^(2*m)
, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && IntegerQ[m + 1/2]

Rubi steps

\begin {align*} \int \frac {1}{(a+a \sec (e+f x))^{5/2} (c-c \sec (e+f x))^{5/2}} \, dx &=\frac {\tan (e+f x) \int \cot ^5(e+f x) \, dx}{a^2 c^2 \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=-\frac {\cot ^3(e+f x)}{4 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\tan (e+f x) \int \cot ^3(e+f x) \, dx}{a^2 c^2 \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=\frac {\cot (e+f x)}{2 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\cot ^3(e+f x)}{4 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {\tan (e+f x) \int \cot (e+f x) \, dx}{a^2 c^2 \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=\frac {\cot (e+f x)}{2 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\cot ^3(e+f x)}{4 a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {\log (\sin (e+f x)) \tan (e+f x)}{a^2 c^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 2.26, size = 149, normalized size = 0.99 \begin {gather*} \frac {\csc ^3(e+f x) \left (2-3 i f x+\cos (2 (e+f x)) \left (-4+4 i f x-4 \log \left (1-e^{2 i (e+f x)}\right )\right )+3 \log \left (1-e^{2 i (e+f x)}\right )+\cos (4 (e+f x)) \left (-i f x+\log \left (1-e^{2 i (e+f x)}\right )\right )\right ) \sec (e+f x)}{8 a^2 c^2 f \sqrt {a (1+\sec (e+f x))} \sqrt {c-c \sec (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((a + a*Sec[e + f*x])^(5/2)*(c - c*Sec[e + f*x])^(5/2)),x]

[Out]

(Csc[e + f*x]^3*(2 - (3*I)*f*x + Cos[2*(e + f*x)]*(-4 + (4*I)*f*x - 4*Log[1 - E^((2*I)*(e + f*x))]) + 3*Log[1
- E^((2*I)*(e + f*x))] + Cos[4*(e + f*x)]*((-I)*f*x + Log[1 - E^((2*I)*(e + f*x))]))*Sec[e + f*x])/(8*a^2*c^2*
f*Sqrt[a*(1 + Sec[e + f*x])]*Sqrt[c - c*Sec[e + f*x]])

________________________________________________________________________________________

Maple [A]
time = 0.29, size = 237, normalized size = 1.57

method result size
default \(-\frac {\left (-1+\cos \left (f x +e \right )\right )^{3} \left (32 \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )-32 \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-13 \left (\cos ^{4}\left (f x +e \right )\right )-64 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )+64 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-6 \left (\cos ^{2}\left (f x +e \right )\right )+32 \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )-32 \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )+11\right ) \sqrt {\frac {a \left (\cos \left (f x +e \right )+1\right )}{\cos \left (f x +e \right )}}}{32 f \sin \left (f x +e \right )^{5} \cos \left (f x +e \right )^{2} \left (\frac {c \left (-1+\cos \left (f x +e \right )\right )}{\cos \left (f x +e \right )}\right )^{\frac {5}{2}} a^{3}}\) \(237\)
risch \(\frac {\left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) x}{a^{2} c^{2} \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}}-\frac {2 \left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) \left (f x +e \right )}{a^{2} c^{2} \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}+\frac {4 i \left ({\mathrm e}^{6 i \left (f x +e \right )}-{\mathrm e}^{4 i \left (f x +e \right )}+{\mathrm e}^{2 i \left (f x +e \right )}\right )}{a^{2} c^{2} \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{3} \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{3} \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}-\frac {i \left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) \ln \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )}{a^{2} c^{2} \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}\) \(476\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(5/2),x,method=_RETURNVERBOSE)

[Out]

-1/32/f*(-1+cos(f*x+e))^3*(32*cos(f*x+e)^4*ln(-(-1+cos(f*x+e))/sin(f*x+e))-32*cos(f*x+e)^4*ln(2/(cos(f*x+e)+1)
)-13*cos(f*x+e)^4-64*cos(f*x+e)^2*ln(-(-1+cos(f*x+e))/sin(f*x+e))+64*cos(f*x+e)^2*ln(2/(cos(f*x+e)+1))-6*cos(f
*x+e)^2+32*ln(-(-1+cos(f*x+e))/sin(f*x+e))-32*ln(2/(cos(f*x+e)+1))+11)*(a*(cos(f*x+e)+1)/cos(f*x+e))^(1/2)/sin
(f*x+e)^5/cos(f*x+e)^2/(c*(-1+cos(f*x+e))/cos(f*x+e))^(5/2)/a^3

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 1505 vs. \(2 (145) = 290\).
time = 0.79, size = 1505, normalized size = 9.97 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="maxima")

[Out]

-((f*x + e)*cos(8*f*x + 8*e)^2 + 16*(f*x + e)*cos(6*f*x + 6*e)^2 + 36*(f*x + e)*cos(4*f*x + 4*e)^2 + 16*(f*x +
 e)*cos(2*f*x + 2*e)^2 + (f*x + e)*sin(8*f*x + 8*e)^2 + 16*(f*x + e)*sin(6*f*x + 6*e)^2 + 36*(f*x + e)*sin(4*f
*x + 4*e)^2 + 16*(f*x + e)*sin(2*f*x + 2*e)^2 + f*x + (2*(4*cos(6*f*x + 6*e) - 6*cos(4*f*x + 4*e) + 4*cos(2*f*
x + 2*e) - 1)*cos(8*f*x + 8*e) - cos(8*f*x + 8*e)^2 + 8*(6*cos(4*f*x + 4*e) - 4*cos(2*f*x + 2*e) + 1)*cos(6*f*
x + 6*e) - 16*cos(6*f*x + 6*e)^2 + 12*(4*cos(2*f*x + 2*e) - 1)*cos(4*f*x + 4*e) - 36*cos(4*f*x + 4*e)^2 - 16*c
os(2*f*x + 2*e)^2 + 4*(2*sin(6*f*x + 6*e) - 3*sin(4*f*x + 4*e) + 2*sin(2*f*x + 2*e))*sin(8*f*x + 8*e) - sin(8*
f*x + 8*e)^2 + 16*(3*sin(4*f*x + 4*e) - 2*sin(2*f*x + 2*e))*sin(6*f*x + 6*e) - 16*sin(6*f*x + 6*e)^2 - 36*sin(
4*f*x + 4*e)^2 + 48*sin(4*f*x + 4*e)*sin(2*f*x + 2*e) - 16*sin(2*f*x + 2*e)^2 + 8*cos(2*f*x + 2*e) - 1)*arctan
2(sin(2*f*x + 2*e), cos(2*f*x + 2*e) - 1) + 2*(f*x - 4*(f*x + e)*cos(6*f*x + 6*e) + 6*(f*x + e)*cos(4*f*x + 4*
e) - 4*(f*x + e)*cos(2*f*x + 2*e) + e + 2*sin(6*f*x + 6*e) - 2*sin(4*f*x + 4*e) + 2*sin(2*f*x + 2*e))*cos(8*f*
x + 8*e) - 8*(f*x + 6*(f*x + e)*cos(4*f*x + 4*e) - 4*(f*x + e)*cos(2*f*x + 2*e) + e + sin(4*f*x + 4*e))*cos(6*
f*x + 6*e) + 4*(3*f*x - 12*(f*x + e)*cos(2*f*x + 2*e) + 3*e + 2*sin(2*f*x + 2*e))*cos(4*f*x + 4*e) - 8*(f*x +
e)*cos(2*f*x + 2*e) - 4*(2*(f*x + e)*sin(6*f*x + 6*e) - 3*(f*x + e)*sin(4*f*x + 4*e) + 2*(f*x + e)*sin(2*f*x +
 2*e) + cos(6*f*x + 6*e) - cos(4*f*x + 4*e) + cos(2*f*x + 2*e))*sin(8*f*x + 8*e) - 4*(12*(f*x + e)*sin(4*f*x +
 4*e) - 8*(f*x + e)*sin(2*f*x + 2*e) - 2*cos(4*f*x + 4*e) - 1)*sin(6*f*x + 6*e) - 4*(12*(f*x + e)*sin(2*f*x +
2*e) + 2*cos(2*f*x + 2*e) + 1)*sin(4*f*x + 4*e) + e + 4*sin(2*f*x + 2*e))*sqrt(a)*sqrt(c)/((a^3*c^3*cos(8*f*x
+ 8*e)^2 + 16*a^3*c^3*cos(6*f*x + 6*e)^2 + 36*a^3*c^3*cos(4*f*x + 4*e)^2 + 16*a^3*c^3*cos(2*f*x + 2*e)^2 + a^3
*c^3*sin(8*f*x + 8*e)^2 + 16*a^3*c^3*sin(6*f*x + 6*e)^2 + 36*a^3*c^3*sin(4*f*x + 4*e)^2 - 48*a^3*c^3*sin(4*f*x
 + 4*e)*sin(2*f*x + 2*e) + 16*a^3*c^3*sin(2*f*x + 2*e)^2 - 8*a^3*c^3*cos(2*f*x + 2*e) + a^3*c^3 - 2*(4*a^3*c^3
*cos(6*f*x + 6*e) - 6*a^3*c^3*cos(4*f*x + 4*e) + 4*a^3*c^3*cos(2*f*x + 2*e) - a^3*c^3)*cos(8*f*x + 8*e) - 8*(6
*a^3*c^3*cos(4*f*x + 4*e) - 4*a^3*c^3*cos(2*f*x + 2*e) + a^3*c^3)*cos(6*f*x + 6*e) - 12*(4*a^3*c^3*cos(2*f*x +
 2*e) - a^3*c^3)*cos(4*f*x + 4*e) - 4*(2*a^3*c^3*sin(6*f*x + 6*e) - 3*a^3*c^3*sin(4*f*x + 4*e) + 2*a^3*c^3*sin
(2*f*x + 2*e))*sin(8*f*x + 8*e) - 16*(3*a^3*c^3*sin(4*f*x + 4*e) - 2*a^3*c^3*sin(2*f*x + 2*e))*sin(6*f*x + 6*e
))*f)

________________________________________________________________________________________

Fricas [A]
time = 5.30, size = 610, normalized size = 4.04 \begin {gather*} \left [-\frac {162 \, {\left (\cos \left (f x + e\right )^{4} - 2 \, \cos \left (f x + e\right )^{2} + 1\right )} \sqrt {-a c} \log \left (-\frac {8 \, {\left ({\left (256 \, \cos \left (f x + e\right )^{5} - 512 \, \cos \left (f x + e\right )^{3} + 175 \, \cos \left (f x + e\right )\right )} \sqrt {-a c} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}} - {\left (256 \, a c \cos \left (f x + e\right )^{4} - 512 \, a c \cos \left (f x + e\right )^{2} + 337 \, a c\right )} \sin \left (f x + e\right )\right )}}{{\left (\cos \left (f x + e\right )^{2} - 1\right )} \sin \left (f x + e\right )}\right ) \sin \left (f x + e\right ) + {\left (832 \, \cos \left (f x + e\right )^{5} - 1988 \, \cos \left (f x + e\right )^{3} + 1075 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{324 \, {\left (a^{3} c^{3} f \cos \left (f x + e\right )^{4} - 2 \, a^{3} c^{3} f \cos \left (f x + e\right )^{2} + a^{3} c^{3} f\right )} \sin \left (f x + e\right )}, -\frac {324 \, {\left (\cos \left (f x + e\right )^{4} - 2 \, \cos \left (f x + e\right )^{2} + 1\right )} \sqrt {a c} \arctan \left (\frac {{\left (16 \, \cos \left (f x + e\right )^{3} - 7 \, \cos \left (f x + e\right )\right )} \sqrt {a c} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{{\left (16 \, a c \cos \left (f x + e\right )^{2} - 25 \, a c\right )} \sin \left (f x + e\right )}\right ) \sin \left (f x + e\right ) + {\left (832 \, \cos \left (f x + e\right )^{5} - 1988 \, \cos \left (f x + e\right )^{3} + 1075 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{324 \, {\left (a^{3} c^{3} f \cos \left (f x + e\right )^{4} - 2 \, a^{3} c^{3} f \cos \left (f x + e\right )^{2} + a^{3} c^{3} f\right )} \sin \left (f x + e\right )}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="fricas")

[Out]

[-1/324*(162*(cos(f*x + e)^4 - 2*cos(f*x + e)^2 + 1)*sqrt(-a*c)*log(-8*((256*cos(f*x + e)^5 - 512*cos(f*x + e)
^3 + 175*cos(f*x + e))*sqrt(-a*c)*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*x +
e)) - (256*a*c*cos(f*x + e)^4 - 512*a*c*cos(f*x + e)^2 + 337*a*c)*sin(f*x + e))/((cos(f*x + e)^2 - 1)*sin(f*x
+ e)))*sin(f*x + e) + (832*cos(f*x + e)^5 - 1988*cos(f*x + e)^3 + 1075*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)
/cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*x + e)))/((a^3*c^3*f*cos(f*x + e)^4 - 2*a^3*c^3*f*cos(f*x + e)^
2 + a^3*c^3*f)*sin(f*x + e)), -1/324*(324*(cos(f*x + e)^4 - 2*cos(f*x + e)^2 + 1)*sqrt(a*c)*arctan((16*cos(f*x
 + e)^3 - 7*cos(f*x + e))*sqrt(a*c)*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*x
+ e))/((16*a*c*cos(f*x + e)^2 - 25*a*c)*sin(f*x + e)))*sin(f*x + e) + (832*cos(f*x + e)^5 - 1988*cos(f*x + e)^
3 + 1075*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*x + e)))/((a^3*
c^3*f*cos(f*x + e)^4 - 2*a^3*c^3*f*cos(f*x + e)^2 + a^3*c^3*f)*sin(f*x + e))]

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))**(5/2)/(c-c*sec(f*x+e))**(5/2),x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 6191 deep

________________________________________________________________________________________

Giac [A]
time = 2.04, size = 225, normalized size = 1.49 \begin {gather*} -\frac {\frac {32 \, \log \left ({\left | c \right |} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}\right )}{\sqrt {-a c} a^{2} c {\left | c \right |}} + \frac {64 \, \sqrt {-a c} \log \left ({\left | c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + c \right |}\right )}{a^{3} c^{2} {\left | c \right |}} - \frac {48 \, {\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )}^{2} + 84 \, {\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )} c + 37 \, c^{2}}{\sqrt {-a c} a^{2} c^{3} {\left | c \right |} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4}} + \frac {{\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )}^{2} \sqrt {-a c} a^{3} c^{4} {\left | c \right |} - 10 \, {\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )} \sqrt {-a c} a^{3} c^{5} {\left | c \right |}}{a^{6} c^{10}}}{64 \, f} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="giac")

[Out]

-1/64*(32*log(abs(c)*tan(1/2*f*x + 1/2*e)^2)/(sqrt(-a*c)*a^2*c*abs(c)) + 64*sqrt(-a*c)*log(abs(c*tan(1/2*f*x +
 1/2*e)^2 + c))/(a^3*c^2*abs(c)) - (48*(c*tan(1/2*f*x + 1/2*e)^2 - c)^2 + 84*(c*tan(1/2*f*x + 1/2*e)^2 - c)*c
+ 37*c^2)/(sqrt(-a*c)*a^2*c^3*abs(c)*tan(1/2*f*x + 1/2*e)^4) + ((c*tan(1/2*f*x + 1/2*e)^2 - c)^2*sqrt(-a*c)*a^
3*c^4*abs(c) - 10*(c*tan(1/2*f*x + 1/2*e)^2 - c)*sqrt(-a*c)*a^3*c^5*abs(c))/(a^6*c^10))/f

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\left (a+\frac {a}{\cos \left (e+f\,x\right )}\right )}^{5/2}\,{\left (c-\frac {c}{\cos \left (e+f\,x\right )}\right )}^{5/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a + a/cos(e + f*x))^(5/2)*(c - c/cos(e + f*x))^(5/2)),x)

[Out]

int(1/((a + a/cos(e + f*x))^(5/2)*(c - c/cos(e + f*x))^(5/2)), x)

________________________________________________________________________________________